WOBS-3063: Fixes rank variable, starts at 1 now