fixing querytable field_state_change events handler