fixed the use of contain only with a custom equality