Water shoots out of water dispenser instead of to ice maker

I just replaced the triple solenoid valve on my Frigidaire since I was not getting water out of the dispenser. Now I get water out of the dispenser, but no water to the ice maker. It seems the water intended for the ice maker’s input cycle is going to the dispenser instead, because every once in a while water shoots out of the dispenser on its own.