Fix tags issue in detail view