Should do same as https://github.com/Libensemble/libensemble/pull/1515 for persistent gen returns.
Should do same as Libensemble/libensemble#1515 for persistent gen returns.