Updates tex to make it more robust by giving it a wider date span.