Retracts of posets: the chain-gap property and the selection property are independent