It isn't clear to me why they used two different relays, other than convenience of mounting, maybe routing of the cables and control wiring. The first four-terminal I posted (by itself) has no "polarity." In other words, it doesn't matter which large terminal is incoming power and which feeds the pump motor. Likewise, either of the small terminals can get the control voltage, and the other can be grounded.
Check ALL the connections. With that done, new Relay in place, I'm willing to say you'll be OK again.