fixes #2490 - filter empty EC2 security groups