Fix null pointer on decrementMessageCountInSlotAndCheckToResend for topics.
Merge pull request #154 from akalankapagoda/NullOnDecrement

Fix null pointer on decrementMessageCountInSlotAndCheckToResend for topi...