Fixing AMI name filter