I don't have the answer to whether shorting across the clutch switch fools the sidestand switch. But I know the magnet has to be in just the right spot on the sidestand switch. You might want to recheck. I believe I would reconnect the clutch switch, verify the sidestand magnet placement and try again.
KTMs--300, 518, 990