Fixed a bug where attribute values would not be updated correctly after increasing one attribute by 1 (every 4 levels)