If your connections are correctly positioned then the only thing I can think is to check is that neutral connections on the DIN rail are correctly connected, if one (probably the incoming) were only just in contact then it may not be able to carry the current of both items, however this would be an extraordinarily precise partial disconnection.
I woudl tend to go for a wiring error myself, check continuity when the circuit is dead to see what you get in different switch positions and see if you have continuity along cores between points.