A fix to the constant-existence check.