Fixed a bug on show page from badly writen conditional logic.