should fix #10 planetary beacon change

This small change will make it so that when the pb operation ends it will allways turn the flag off, no matter what the flag was on before.

The previous code would toggle the bit.