Both the v2.2 and v2.4 default code have this line in
Default_Routine:
Code:
relay8_fwd = !rc_dig_in18; /* Power pump only if pressure switch is off. */
It sounds like you have it wired properly. If you have changed the code, I would look closely at it to make sure that line is actually being executed.