avoid the activemq diagram tab appearing when it shouldn't