use false instead of 0 for boolean column in where clause

fixes #113