Perhaps the if is not useful anymore. I haven't tested on SQLite