Merge pull request #9 from tcpcloud/acl

Fix ACL generation condition