Change $not to $ne. Added departure time check