Fix wrong photos showed when multiple categories from same event had the same name.