Fix breaking selenium tests...

And fix 'add sub record' actions due to changes to some section ids (now use CSS classes to define javascript targeted sections)