Fixing Errors within the CheckForSubscriptions function