Fix filter not being added to list in deprecated C++ API.
Fix filter not being added to list in deprecated C++ API.

Closes #1001.

TileDB-Inc/TileDB,TileDB-Inc/TileDB,TileDB-Inc/TileDB,TileDB-Inc/TileDB