Redmine #771, Bug 690467 - realm mapping deletion