Fixed isBetween