Avoid invalid lambda collection