Fixing bug with order of attributes modifiers