fixed:
add messages if they even not get to buffer, but you should calculate only stored messages

Signed-off-by: Serg Brych <sbrych@gmail.com>