Bug: _contains not handled properly