clear up dal codes, separating stop from station
fix db query bug (treat overnight as previous day)