* sqlite: remove unneeded LEFT JOIN to improve performance * Fix handling join clause in GetBookmarks * Revert changes in GetBookmarks