fix filter history + separate message count