Fix visibility hidden records after search (hotfix)