Fix tags api support of multiple public ids