Rough implementation of shaky Mongo queries