The bonus doesn’t effect it. That was a hypothesis near the beginning, but with the research and playing that people have done, it’s confirmed not.
I made a test map that reveals both when the achievement fails, and what caused it. If you want to give it a try, it may help you figure out what’s causing the fail so that you can avoid it in the real mission.