Take into account trains after midnight