fix: when operators in sqlite backend