Fix error with LastLogDir out of date #2