Fixed logging of BOOL