operator traits: removed is_base_of with wrong implementation, fixed bug for comparison operators using is_base_of