Fixed getting recovering node group id from routes when groups is specified. Added ability to specify groups for recovering.