Error browsing when an attribute is disabled browsing

I've a problem with something that worked in SQL Server 2012 but gives a problem in 2016.

‌‌I've created a dimension with the wizard. In one of the pages I cleared the checkbox Enable Browsing for an attribute that's not needed for hierarchies.

When I go to the page Browse of my dimension and click Reconnect I get the following error:

MSSCHEMA_HIERARCHIES dit not return information about the attribute: Standard Cost‌‌

Re-deploying of re-processing it doesn't help.