Fix error in get_in_pending_subscriptions