Fix two typos in core
Fix compare_to() of Boolean