That's not the problem -- I think that your setup may be messed up. I just created a new character, joined Imoen, Kagain, Minsc, Jaheira, Khalid and checked the beginnings of both quests, and they work fine.
IF you have problems with both these quests, then I fear your setup may be damaged due to some other mod, installation order or something else.I also do not know if you're playing on BG1EE, BG1EE+SoD (if so, then if it's Beamdog Client, Steam or something else), if you have modmerge or DLC Merger installed, or if you're using EET.
The code is not a problem, the Friendly Arm Inn sets this variable: Global("L#FAIQuest","GLOBAL",1)
The "Beetle guy" sets this one: Global("L#BUGQuest","GLOBAL",1) (but here it is more tricky, as the old man needs to go and this probably won't happen properly with just the code)
(
https://gibberlings3.github.io/iesdp/app...a/bgee.htm -- info on how to set variables with the console )
But if such problems are going to happen over and over again, you won't enjoy your run away, that's why I mentioned a damaged setup. These looks like symptoms of such.