tag indexes are being created correctly