Added check for active ingredients in __dict__