Fixed a bug when 0 results.