Bug when multiple associations are passed in. Writable option is deleted once and then not set for the rest