In Editmode armature, the autocomplete for bone names used the bones from the armature itself, not the edit data. While fixing, also found out autocomplete for vertexgroup didnt work even.