Add assertions while changing ListView index in Select widget
Fixes mypy error:
- clive/ui/widgets/select/select_list.py:105: error: Unsupported operand types for + ("None" and "int") [operator]
- clive/ui/widgets/select/select_list.py:105: note: Left operand is of type "Optional[int]"
- clive/ui/widgets/select/select_list.py:110: error: Unsupported operand types for - ("None" and "int") [operator]
- clive/ui/widgets/select/select_list.py:110: note: Left operand is of type "Optional[int]"