MDL-23503 restore without users - fixed two incorrect function calls