Fixed a bug where search wouldnt return all fields requested.