Fixed the AIF removal fix

(Whoopts! I lost the _if_ part of aif). How sad.