Database: changed columns are not preserved after refetching all columns

@hrach: This one took me literally **ages** to isolate. Can you do something about it? :-)