fixes bug introduced by previous fix for hanging activemq completion :)