Added the base term pattern to that hierarchy is used.

Signed-off-by: Staris <jaison@worxco.com>