I undid this ceiling rose in order to redecorate the room and found that the wiring appears to be wrong? This is on the end of a circuit, so only one circuit cable. The circuit cable is the one on the left of the pic, the switch cable is on the right (I did a continuity test to establish which was the switch cable). The switch cable goes to a ceiling pull cord switch which is wired correctly (Red to Common, Black to L1). However, there is no earth wire at the switch end, though there is at the rose end.
But the switch cable appears to be wired the wrong way around (Black to the loop terminal, Red to the Line terminal). Should this not be Red to the loop terminal and Black (switched live) to the Line terminal?
The light obviously still works, but am I right in thinking that this is potentially dangerous, as the lampholder terminal is still live even when the pull cord switch is off? If so, should i just transpose the two switch cable wires at the rose? And then tag the switched live?
But the switch cable appears to be wired the wrong way around (Black to the loop terminal, Red to the Line terminal). Should this not be Red to the loop terminal and Black (switched live) to the Line terminal?
The light obviously still works, but am I right in thinking that this is potentially dangerous, as the lampholder terminal is still live even when the pull cord switch is off? If so, should i just transpose the two switch cable wires at the rose? And then tag the switched live?

