fixes negative tags not working if they don't exist
fixes #431
Merge pull request #2 from DakuTree/patch-sqlfix

fixes negative tags not working if they don't exist