Deal with DOM modifications when evaluating source elements.