Updated mongo store to use new query monad