mod_mam: fix purge handler. (Fixes #81)