Fixed read-only access issues. However it still fails if the db is old (i.e. is missing last_update field).