Fix wrong index in error message.