[BUGFIX] Better support numerical array keys in form.select view helper

Change-Id: I3a3586093d30e17512eb352cdd06b83acec06af2
Refs: #15894