Improve performance of project_get_all_user_rows

Why are we moving for a logic check to a string check?