ARMS-245 #Done Fix wrong workflow stages for pagination