Fixing bug introduced in boolean?