Preserving the order of bound values when dumping error messages