Fixed the query, it now works properly for both OCTA and Metrolink. Implemented the Stops table view for Metrolink. Only part missing is the detail view for the stops for both OCTA and Metrolink.