Database fixes, fixes related to Glance special ability