Added check for empty string (indexing case) for category h1 title