Fix crash when editing builds