Fixed an issue with the hasAccess check.