Side stand switch was troublesome on earlier models.
Actually, that's a good point. One of the sidestand bolts on my 796 actually vibrated out and was lost. I set the bike on the stand and got off... it was leaning at almost 45^ ! Thank goodness I had a axle stand...
OP, question: do you have any aftermarket components hooked up? Duc-ee, a power commander, etc, etc?