avoid NPE on product filtering
Merge pull request #264 from daniellemayne/develop

avoid NPE on product filtering