Handle a few more cases in is_equally_spaced