What type of bug are you reporting? Mechanics
What is the bug?
Not completely sure, but I think Protosynthesis and Air Lock (and potentially Cloud Nine) is bugged. The boost does not disappear when the Air Lock pokemon gets switched in.
I did a quick test in game in a trainer double battle...