"I didn't know I was benefiting from a crime, so I should be able to keep the profits I made instead of them being used to repay people that actually lost money" doesn't feel fair either.
I think a somewhat useful comparison is trade in stolen goods: even if you didn't know that something you bought was stolen, you still can be forced to return it to the actual owner. This situation is actually better than with physical goods, since they're only going after profits (which arguably were stolen from others), whereas in the case of stolen goods the buyer can be left hanging trying to recover the money they paid.
I think a somewhat useful comparison is trade in stolen goods: even if you didn't know that something you bought was stolen, you still can be forced to return it to the actual owner. This situation is actually better than with physical goods, since they're only going after profits (which arguably were stolen from others), whereas in the case of stolen goods the buyer can be left hanging trying to recover the money they paid.