Hey other dev here, is it the building with the red key? Because when you enter that building that triggers an ambush in the big trench area outside . If not that though then it is prolly a bug, which thanks for reporting!
Ooooh, yeah it probably was that, though I could've sworn one new ranged enemy appeared each time I re-enetered the red key room. I was probably just me confusing the ambush for a bug, sorry