Fix the tail updating bug in evt_enque