Fixed bug caused by invalid stop IDs

Invalid stop IDs in the URL to get the predictions for all stops on the
schedule would prevent any predictions from being displayed for a line,
now stop IDs are validated before being added to the URL