fixed a priority bug with data-replace (backup data were overwriting output data if the selector was the same)