Add isequal and fix typo in fragment
Add support for empty authorities