Fixed possible issue with sending invalid message to the delegate or delegate not receiving a message at all
Merge pull request #497 from paweldudek/DelegateCall

Fixed possible issue with sending invalid message to the delegate or delegate not receiving a message at all