Fixed Melody related NPE.