fix review SQL condition for item listing