Notes on count(DISTINCT item_id) and MySQL versions below 3.23.2
----------------------------------------------------------------

If you do a search from the search page for 'Reviews', and an item has more than one review 
that matches the search criteria, duplicate items would be returned.

A 'DISTINCT' keyword added to SQL in functions/item.php::fetch_item_listing_rs(...), will
actually ensure that no duplicate records are returned.

This results in an inconsistency between the Number of records to be listed, and the total 
record count, used for pagination.

The fix for this is to add a DISTINCT to the fetch_item_listing_cnt(...) function as well,
but versions of MySQL below '3.23.2', do not support it!
