Fix for topics merging

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