Fix reporting rate query to consider the program of rnr