AND should be used instead of OR, or there will be a dead loop and the dict list is never returned.
mentioned in merge request !142 (merged)