When I was working on an elevator, a piston would not let the toggle switch work because it would stay extended. I am sending a world file so you can see and use debug tool.
Related issues
Attachments
Comments

[media][media]

Please attach screenshots of the affected pistons. Make sure to make nearby redstone signals visible, please.

Here it is.