This will completely bypass the bug, yes. I'm a bit fuzzy on how to interpret this. Yes, reallocating scientists to projects before the completed one does not trip the bug either. (Of course, any scientists originally allocated to projects after the completed project, that are reallocated to projects before the completed project, are lethargic and do not do any research that day whatsoever).