Fix issue https://github.com/rec/echomesh/issues/311