Fix missing value assertion