fixing problem with single post category hierarchy