Fixed so it gets the bug status using the specific flag for this branch.
Now check against comments as well as status flags.