Go back to returning 0 which is more clear and avoids future issues

This was accidentally removed in [3c1d20df13]