Archive filter disappears on no results?

When there are no posts, there is no post ID for get_field_object to operate with. If you read the docs for that function, you’ll see:

$post_id Specific post ID where your value was entered. Defaults to current post ID (not required). This can also be options / taxonomies / users / etc