Added check for custom buffs.