Revised $changed assignment to remove E_NOTICE error

Changed $changed assignment to return 0 if there's no cache file, this eliminated an E_NOTICE error that comes up when evaluating $changed when it doesn't exists