Added randomization to point location query to fix some infinite looping problems.