Expand group and parent groups when a new record is added. Resolves #3.