Added code to filter hook for extracting times when present.