Fixed bug regarding invalid json arguments passed to sqliteplugin