Update Gemfile.lock for Heroku
Updated controller logic to not cause error.