LPS-37765 modify condition to show back link

@marcellustavares you may want to have a look at this