#733 - fix for crash when editing sites