Fix off by one error for selecting prompt