Therein could be your problem, are you willing to take on the task of sorting out the wires to ensure they are connected correctly.
You are going to have to be able to use the meter in OHM and Volt scales. I don't know how proficient you are with a meter
Post a pic of the meter you are using if you are not proficient. Easy enough to go through it and I am around this evening, if you need help.
If you find 3 wires joined together there is the bypass and probably the dodgy connection.
Before you check these wires fix the side stand switch.
Dismantle it and clean the contacts with something lightly abrasive. Grease the plunger then spray the inners with a little bit of WD40and reassemble it. Test it. Plunger pushed in connectivity (side stand up), plunger out no connectivity (side stand down).