Fixed get_non_deck_cards in API.php