Foris front page: forever looping requests

Hi,

I hit an annoying foris issue as soon as I updated to HBT (v5). Please note that I proxy traffic from nginx to lighttpd (it runs at localhost).

I have found this suspicious code in the front page: image

As far as I understand javascript the return value for the search method call is not properly checked. The result is cast to bool and its value -1 is cast to true. It is a wild guess though.

The problem: