Fix uploaded dive state.

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>