The pending count was not correct in report (always equals to 0). Since
the Status.PENDING and Status.UNDEFINED are used to determine the value
I removed the unneeded one to fix the bug