If the parameter provided to a SQL query is of wrong type, the next identical query with a correct type also fails.

If query ```SELECT content FROM messages WHERE id = ?``` (where id is bigint) is send with a ```String``` parameter : the method throw a GenericDatabaseException => OK

But after, if a second identical query is send with a correct number value : the method throw an ```ArrayIndexOutOfBoundsException: : 0  (PostgreSQLConnection.scala:194)``` => KO
Yes, you're right.
There is the same problem here: https://github.com/mauricio/postgresql-async/blob/master/postgresql-async/src/test/scala/com/github/mauricio/async/db/postgresql/PreparedStatementSpec.scala#L253