HTML: Convert values appropriately (fix for arrays)

Fix an error being displayed when a value is an array for the registered
check