Find and fix log error occuring on second job call.