Fixed row removal bug