Improves support for boolean automatic casting