Update commission-details.php

Fixed issue with fetching pending approval counts