Fixing BidEndTime check