--clear-existing-rules --clear-existing-synonyms flags do not work on indices config import

When running the indices config import command the flags --clear-existing-rules and --clear-existing-synonyms for purging existing rules and synonyms are not working:

./algolia_1.6.11_linux_amd64/algolia indices config import MY_INDEX --application-id MY_APP --api-key MY_API_KEY -F INDEX.json -s settings,rules,synonyms --clear-existing-rules --clear-existing-synonyms

The existing rules and synonyms are not deleted and persist in the index. The short version flags -r and -o are not working as well.

The usage of the flags is documented here: https://www.algolia.com/doc/tools/cli/commands/algolia-indices/#algolia-indices-config-import

The flags do work on the specific rules import and synonyms import commands. So as a workaround I am purging them with an empty .json file and these flags now before I import the configuration.