Fixes format of sqlite database URIs (added slash at the end). Adds fixes sorting by title of several result types.