Missing parentheses caused error on detail view