Fix finding eligible discard pile cards for AI