Avoid invisible rows while searching