Changed the way objects are searched for in the queryRectangle method of the Basic2DSpatial manager