Fix a crash retrieving cards with no active pile