Fix bug in changing ACL role from 1 permission to another