Fix #16515: Manage custom field page crashes