Fix for PHP bug with range on 1 or 2 number differences.