Updated checks for exactly false.

Fixed some issue withe the sanity checks if the cache results.