Fix wrong neural input index.