Fix conditional check of known values being ignored