Fixed edge case in search-ec2-tags