Fix 1.8.7 Array to_s behaviour