When attempting to create an item that gives an attack bonus in either the main or off hand slot, only the second attribute is applied.
Steps to Reproduce:
Create an item with two identical attribute modifiers applied to mainhand and offhand, offhand second
Hold item in main hand and attack something - no boost
Hold item in off hand and attack something - boost is applied properly
Cannot confirm for 15w37a
Example command