Final fix for consent::save() bug