Attempt to fix a bug in logstasher.