Auto indent

The error was definitely on my side, when reconfiguring, I was removing an element at an invalid index from keybinding, leading to the issue. Checking the validity of the index before removing the element fixes the problem, apologies for this issue.