I don’t know how this is a bug.
Things are stored as they were created. The checks are there to prevent people from stealing already in use names. This is intentional. If you really need it case sensitive as a “pretty” factor, delete it and recreate it using the proper case, or manually edit the DB so it is displayed how you prefer.