Fixed searching html dom change bug