Fix for removing old logs