Correctly invalidate cache of checks per type