Fixed issues in RemoveRow and RemoveFirstRow