Check for ranges