BRANCH 4.1:
  - fixed a bug in Task Security where it was not removing the task security entries defined in earlier version
  - fixed a bug in Task or Process Security where a user could potentially create a duplicated entry when the user
  unchecks and checks the same checkbox before saving