Fixed DATABASE_PORT returning 0 if ENV[DATABASE_PORT] isnt set