Problem with commas

Hi,

I was hoping someone here could help me,

I use an edited version of the MHRA style:

Author, Title| , trans. Translator|, Edition |(|Place Published|: Publisher|, Year|)|.

However, when there is no translator and edition, or just the translator (but not just the edition!), I get a comma after the title:

Leary, T., The Politics of Ecstasy, (Berkeley: Ronin, 1990).

When I would like it to look like this:

Leary, T., The Politics of Ecstasy (Berkeley: Ronin, 1990).

I am really struggling to change this. HELP!