Fix issue with sql radius