luci-app-bmx6: Fix topology graph with backwards compatibility

Signed-off-by: Pau Escrich <p4u@dabax.net>