Fixed an omission in the write routine that resulted in malformed bridge clauses.