Better minus detection in tf().