An obvious thing to try, would be to swap over those two blacks, which are brown sleeved, but I'm at a loss, to understand why there might be two, which are brown sleeved at all...
What you seem to have either way, is the live, being used for both cores of a two core, which is just silly....
I wonder if (looking at your photo), the rightmost brown sleeved, is the neutral, and should be in the leftmost terminal(neutral), and the middle brown sleeved one, might be the switch wire, belongs in the rightmost terminal with the brown flex? But why did they mark the neutral with brown sleeve??