Fix NPE when adding null to a Lambda