Handle nils in note pattern