Delete-logs-data doesn't delete some of the logs


I am trying to delete all the logs from the 6th of July so I can import the logs again but some of the logs are not being deleted.

The commands I am using to delete the data are as follows:

/var/www/html/piwik/console core:delete-logs-data --dates=“2017-07-06 01:00:00,2017-07-06 23:59:59”
/var/www/html/piwik/console core:invalidate-report-data --dates “2017-07-06”
/var/www/html/piwik/console core:archive --force-date-range “2017-07-06,2017-07-07” --url=

Most of the data for that day has been deleted but 558 visits are not being deleted. I have run the commands several times but it still doesn’t remove this 558 visits.

Are there any other commands I can run to remove this remaining data or is this a bug ?

Thank you.