Fixed broken unread count when keep position is on

Fixes #48