Memory improvements during wp-items enumerations