core: fix multiple ACLs selections

Close #2239