Fix bug in loggly backend