Speculation: after the smell was detected, the flight crew began the diversion process while attempting to fix the problem by pulling fuses, etc. Once the smell was no longer detected and the problem appeared to be solved, they deemed that a diversion was no longer necessary and carried on with the flight.