Fixed a bug with the accordion js where the history stuff was firing even without the history option being enabled
Should be using element_children when grabbing the tablinks as under certain circumstance there are other array properties like #array_parents that get included by mistake