Update TimeExtractionHandler.java

This at least solves the problems with the NullReferenceException.