small fix to searchIntersect