Changed database VARCHAR(5) to proper BOOL type.

Reflected casting of 0 to false and 1 to true in scripts.