Shadow Lottery Cancels Contract

I picked up a shadow contract from the bartender then entered the lottery and it abandoned my contract. Bartender shows none available and shadow quests shows I still need to complete a contract which I now cannot. Waited until the lottery was over thinking it might come back but it did not. Might only be a particular contract that will experience this issue but will prevent me from getting 220 marks today. Wouldn’t be an issue if abandoned contracts enabled you to pick up another one, not sure why you can’t.