Yeah, just spent some time fixing it. Patch is up now. Still needs a lab to be built but doesn't matter what order you build them.
I had overlooked the possibility of someone making a container before placing any labs down. It also highlighted an issue that would have occurred if all labs got removed too.