Fixes https://github.com/Vizzuality/re3#49