LPS-46632 Fix incorrect if statement