Working in an insurance law firm? Is this connected to riba?

Can working as a lawyer in a law firm which has many insurance and reinsurance clients be considered haram? Some of the day to day tasks involve considering whether a claim is covered under a policy, and recommending how much should be paid out, or if deductions should be applied because some aspects are not covered under a policy. I am concerned as there is a lot of communication and connections to insurance companies as they are the main clients who come to us to determine the legal complexities of whether they should pay out a claim or not.