Work around peewee issue when performing a comparison against None, fixes #65

As discussed in the original issue, this works around the issue i've had on my Linux based NAS. My only concern with it is that if users update their version with movies in their queue, they wont be processed any more. I would kinda assume that "most" people would not update a version while outstanding jobs are in the DB, but you never know...