[BUGFIX] respect rootLevel=-1 in exec_foreign_table_where_query