Fix to path validity test, adds time conversion