Fix nil:Class error when user deleted on views