SPOT-272: fixes behavior for sorting by distance when no center is given