Bug #1011246 - fix precedence on autocomplete mappings.