fix lws_lookup off by one

Signed-off-by: nononame <nononame@le-huit.fr>