quick fix for get()ing models with config items in CQID

We're aware this isn't an ideal fix, but there are some issues using both config_profile_item and analysis_project in the same model get() query that were resulting in not finding already created models.

This fixes that issue and introduces a previously missing test case for that case.