Derivatives of comparison operators, fix 1/0 in plog derivative