Too many changes to list.
Consider possibility of nil or NULL being a value in the tables returned from util.FindInSphere, util.FindInBox, and ents.GetAll.