detect boolean column datatype - fixes #11