Fixed problem where it could not find a button that did not have a name.

Very ugly fix.