Don't select past the last item