Only query on doubly-linked elements.