Fixing bug on duplicate entries. Pages was added for each assettype