Fixes strange issue with Mongo matching
Check if project undefiend