Fixes for webSQL persistence.