Fixed some minor schema and database load warnings, wrote a custom
query for retrieving the routes for a stop.