tickets#show: Uniquify photos before listing them

This may resolve an issue with photos being listed incorrectly.