Fixed date equality check in acl model