Check if Schema Attribute is Set Before Using It

This fixes saving changes to user accounts for those of us that have strict PHP error reporting enabled.