Fix for postgres boolean support