https://issues.jboss.org/browse/HORNETQ-1342 - check for empty id map
Merge pull request #1816 from andytaylor/master

https://issues.jboss.org/browse/HORNETQ-1342 - check for empty id map