I've since installed a ground between the neutral side of the inputs and
the ground of the mains supply -
Not a good idea. Also against NEC electrical safety code. The neutral can only be bonded, connected, to earth ground at one point, the main electrical service equipment. What you have done by connecting the neutral to ground again at the branch circuit wiring is to create a parallel path for load neutral current to return to the electrical panel on the equipment grounding conductor.
.