Tidy parent list building logic.