Fixed 'Bug 12149 - Resolve command should not offer references of
references'.