I have never done this mod but I would guess that the wiring in the 97 trunk lid is diff than the 98. Try unplugging the wiring harness in the trunk lid, if the probs go away you need to rewire the 97 trunk lid to match the 98 wiring system.

Also did any of the wires that go along the left hinge get pinched between a bolt or anything?