TableProcessor: if condition fixed