I have an M6 with a Solarforce LED drop in and found that the tail switch would not work, I tried a few others with the same result.
What I did was to sit a brass nut on the base of the battery to act as a spacer, then screwed on the switch. This now works perfectly momentary or permenent on...