Fixing comments query error