Maybe when you installed the rear 02 the wiring got crimped under the seat or burned on the exhaust pipe. I'd do a physical inspection first. I believe the front 02 is a different code completely. Also possible you either have a short in the wiring harness or just got unlucky and got a bad 02.