Fixes incorrect truncation