LPS-38606 Avoid nullpointers and show expire button where there is at least one approved version