Troop upgrade via "Max Upgrade" fails with trait stone error

Platform, device version and operating system:

Windows 10, steam

Screenshot or image:

What you were expecting to happen, and what actually happened:
*When I click “*Max Upgrade” and then “Upgrade” I get an error - see screenshot. Upgrading a troops level this way does not require trait stones but I and error.

How often does this happen? When did it begin happening?
All the time but it depends on the trait stones I have and the troop on which I try it. But when it fails on a troop it fails always because trait stones are required.

Steps to make it happen again
See screenshots in order