fixed closed/archived query. CP ui changed