Fix error with LastLogDir out of date #3