Use undef instead of an empty list searching for existing models.

UR Won't return results for an empty IN clause, and we want models
where the value isn't defined.