Sanitize use of details_tab param