Casting an object to BOOL - produces erratic results