Make sure `start` and `end` are integers