Added distance threshold to ommit AP changes when an UE has nearly the
same distance to two APs.