FV: Fix a bug where WHERE clause might be missing in get_delta_where