Flushing IDO caches before checking if type is disabled