feature #3175: Fix error rebuilding AR security groups