FWIW, I use filter cleaner and never get foam.
Soak filter in filter cleaner, remove, rinse with medium pressure nozzle on a garden hose, fill up bath tub, submerge and remove filter repeatedly in a timely manner a few times, and put back in spa. No foam. Reuse the same 5 gallon bucket of water and filter cleaner 2,3,4... times.