Import within _query function in case someone is not using MongoEngine