Fix equality check for librarian