Fixed an issue when filtering out assets already added.