Adding necessary hidden class on no found row