Check that diff is not negative