Added more lenience when comparing numbers