fix pagination bug for status text is not set to zero when grid is empty.