now keeps oldest date
fix hatnotes not matching (seems to be due to the fact i was matching name with a template style regex)
fix hatnote remove