Fixes https://github.com/nadarei/mina/issues/107