Taking care of a case where the task could have been popped after
hasTasks() > 0.
Version bump - 0.2.3