Fix error with LastLogDir out of date