Fix redundant logic for showing dynamic text