Thanks for the sanity suggestion. With the sensor disconnected I saw no flow. After doing some more checking I found if I connect the OsPi ground to earth ground I do not see any false pulses. I am still investigating but the switcher does not look like the cause of my problem. Thanks