Commiting after adding the search for denial amount >0 and approved amount = 0