Fix for issue #2227

Fixes errors when managing page types that have no assigned fields