Merge "Correctly handle empty vector when printing" into main