Flush model cache when doing insert or insertGetId