Remove nil entries from the self.table_data var before processing while searching

I ran into an issue with an app where when initiating a search the `table_data`'s `self.data` variable contained:

```ruby
[
  nil,
  [ACTUAL DATA HERE]
]
```

This pull request simply runs `compact` on the array before looping over it to remove all the nil values form the array. It shouldn't impact any other functionality.

```bash
196 specifications (331 requirements), 0 failures, 0 errors
```