Fixed row count error