Fix check for transit.