Workaround for issue #17

When using "where" clause, the `array_filter()` method
outputs a list with some null values in certain situations.
The function `array_values()` can overcome this issue by recreating the
indexes.