Fixed splitting of topics (picking messages)

Signed-off-by: emanuele <emanuele45@gmail.com>