Fixed a bug where search wouldnt return all fields requested.

We discovered that search wouldn't return the columns requested. This fixes it.