Fixes for the bmrb_write() method for the new element storage.
Authored by: bugman 2009-10-11
Parent: [r9738]
Child: [r9740]