It's not that 0 is added to the session name. Rather, the session name is truncated by default. You can make the columns of the status line longer, by adding this to your .tmux.conf:
.tmux.conf
set -g status-left-length 20
Source: How to extend the length of session name in tmux?