Fixes #1051 Deleted custom profile fields still shown on profile

Fixes #1051