Hide extra rows properly