Fix bug in usertask