Grab AMI IDs correctly