Create Task Bug fixed

Task can now be created.
Bug: Previously all checked input checkboxes were getting selected.