Made check for subscriptions before trying to clean them (making tests green).