Fixes in SimqelDatabase