Only get the main part of list titles, ignoring any sub-elements

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>