We have found out a very very weird thing with one of the barracks. There are multiple of them, old and new, green and white - we all know them :)
However, the building Land_i_Barracks_V2_F is somewhat different from all the other barracks. This class is not returned here:
_buildings = player nearObjects ["House", _spawnRadius];
But in this:
_buildings = player nearObjects ["Building", _spawnRadius];
Whereas all the other barracks are found in both nearObjects queries. It is probably a config thing.