Fixed select "multiple" single item inf recursion

When a select marked as multiple has a single item, it creates a where
clause that used to trigger an infinite recursion. This has been fixed,
this type of where clause is now properly supported.