Issue #1266572 by znerol: Fixed Workaround in UpdateQuery_sqlite() for affected rows count causes certain updates to be suppressed.