Hi,
While reading 8e72d914c528 I noticed thatForPortionOfState.fp_leftoverstypcache is not used for anything. Isuggest removing it, as attached.
-- Best regards,Aleksander Alekseev