[boundingBoxTreeHelper] Fix bug when checking if point is in interval (2D)
See merge request !551 (merged)