Added code to list tags correctly.