I've read this answer here on how to repair the grub.
In my case though, I accessed to the boot loader and put Ubuntu as first option to load. Then, Ubuntu prompts me to either use Windows or Ubuntu if I want to (wouldn't work in reverse).
Is the workaround only for Windows being the primary system ?