Cooments page sql fix.