moved out invalidate_cached_results method from private section