LPS-42714 Remove unused code, the condition always evaluates to TRUE. This removes false-positive XSS