LPS-47261 Is it even needed? Fix weird logic.