Testing fix

This fix should validate that all the arrays are integer indexes only which is the only type of indexes PDO accepts when using question mark placeholders in queries, it generates errors otherwise.