Fixed queue's resume bug.