Fix for https://github.com/ReadyTalk/avian/issues/216