#where: fix border values not being caught on range