Removing duplicates from django lists