Add error logging whenever you attempt to look up a non-existent model/collection.