wagtailadmin/pages: Fix saving of related formsets