Small bugfix to hallinta js