Hi, sorry for my english.
Sometimes the module can handle the request like so:

other times it splits the message in two parts and can't pass your if statement like so:
.
PS. This happens in the same process with the same postMessage
the only thing that change is the time 😄.