fixed issue when re-using a statement which previously prepared with array binding