EAGLESIX-2651: CoerceToBool: minor fixes, missing test