Fix for issue #2227, errors when managing page types that have no assigned fields.
Typo here breaking page type delete
Merge pull request #2231 from jaminday/2.2/fix_1

Fix for issue #2227
Fixes issue #2228 (previous pull request that fixed this was closed due to me stuffing up ;-) )