https://issues.jboss.org/browse/HORNETQ-1183 - fixing check up on startup

...p