Fix #37 (empty URL caused a bad SQLite request)