Longpoll callback bugfix.