Update Gemfile and mongoid.yml for deployment on heroku
Fix bug where no data is not handled