Fixes bug where the Attach Learning Event button wasn't being displayed again after an attached event was removed form the interface. Also fixes a bug where no searched events were returned if there was only one group attached to the assessment. Refs #392