Resolves #12 -fix NPE when null present in output Seq