Fix check for 0 in values