Just add a
WHERE pres>0
. In reality, one would of course need to be more careful.