Fix ACL editor

Related to https://github.com/sonata-project/SonataAdminBundle/pull/1642.
Fix bugs introduced by PR #269.