Fix-Bulk Action Issue

For bulk action, and quick edit  the url is different.
So was not able to fetch the cpt. 

added code to try and fetch it from the REQUEST.