Fixed problem with displaying collection multiple times