Fixed a bug and a logic error

Wrote no instead of not.
Had nocache not carry forward, should
not cache subfiles of nocached file.