Fixed boolean database mapping.