Fixed error emit in SQLite adapter