Fixed a bug with creating the items in 'create task'.