Fix failure when rebinding a statement paremeter