Fix the condition portion on the set latest rule.