Another fix for Heroku deployment. Problem with database connection