Fix to issue #8

didn't check to see if dataToFilter !== null when the error is thrown
Merge branch 'master' of https://github.com/hellsan631/LogosDB