Ensure argument passed to check_selected is correct type

Does the removal of $p_project_id !== null change the semantics in terms of null? e.g. before we didn't select, and now we may select ALL_PROJECTS?  Or both end up selecting All Projects (first item) anyway?