Fixed bug in handling incomplete transit data