condition for back link changed in order to prevent error with empty arguments in link view helper