diff --git a/include/class_objects.inc b/include/class_objects.inc
index 33732f50ce2bdbec37488c29b7e103af3eb766e6..42358dce9fac0b47d7c57a8e92ac02dc8efd0e0d 100644
--- a/include/class_objects.inc
+++ b/include/class_objects.inc
@@ -90,6 +90,8 @@ class objects
         $search_attrs = [$attrs];
       }
       foreach ($search_attrs as $search_attr) {
+        //Below str_replace allows us to remove the options, resulting in proper ACL inspection. (ACLs do not take options).
+        $search_attr = preg_replace('/;x-.*/', '', $search_attr);
         $category = $ui->getAttributeCategory($types[0], $search_attr);
         if ($category === FALSE) {
           throw new FusionDirectoryException('Could not find ACL for attribute "'.$search_attr.'" for type "'.$types[0].'"');