Auto 473 assertion error fix (ready for review)

This fixes Auto-473, which can happen if the group is deleted before the server that was building fails.