Refs #21628 - Fix duplicate cookie when printing collection footer