Fix string vformat sometimes leaving string empty