Added in code to find and remove dead buildings from the construction behaviour