don't ignore entity 0

even if entity == 0, we have to keep it and send it back to the server.

closes: #1926

Reported-by: David Durieux <d.durieux@siprossii.com>