Dataguard: preventing logical standby to loose track after flashback database on primary
I would change the whole process of deploying. 


Stop SQL Apply.
Create restore point on standby.
Deploy to standby
When testing is complete, flashback standby.
Start SQL Apply.
Safe to deploy on primary.