fixed: make check agains Collection type work

Wasted an hour to find **my** error (Collection extended from a Model). This will hopefully save it for everyone coming after me.