Small fix to EC2 VM search handling
Merge pull request #709 from psav/fix_ec2_mgmt

Small fix to EC2 VM search handling