Adding tolerance to the compare.