fix: incorrect __contains__ methods