Fixing isPreCached if to -f rather than -a

no idea where i got -a from