You can use SandwichNum.HasValue instead of != null.