Fixed issue with empty section showing up in related record form if it had hidden widgets in a group.