Fix off-by-one in exports.