Goto the URL opera://about and take note of the "profile" path.
Close down Opera and use Windows Explorer to goto the profile folder.
Delete the "History", "History Provider Cache", and "History-Journal" files.
Then, start Opera and see if deleting history via the UI works correctly. If not, you might have to goto the URL opera://settings/reset and reset your settings.
Do you Opera Sync?