Prevent buildings from linking to themselves