Re-add a finalize call I should not have removed, and fix a type mismatch.
Make sure to pull the updateable property from the SQLite index (KDB file) after opening it.