Fixed IndexError: list index out of range when overwrite protection triggers in ST3, closes #127