Currently there isn't a feature during backtesting that helps prevent Over-Optinization to news events.
Here's a guy that explains this topic much better than me, and I think SQ team should implement his formula to the optimizer: https://youtu.be/0ZJ1_DLFdbM