Correct enum auto autocompletion (refs #3818)