Using only array_values from $args array, when we use IN in WHERE statment.

This change is made because
$ids = array(1 => '12')

...->where("id", $ids);

generating wrong SQL:

...
WHERE (`id` IN (`1`='12'))
WHERE (`id` IN (`1`='12'))