Fixed render menu when a subitem is an empty string/array