Add filter to Python SQLHelper.