Fixed bug that caused segfault when adding a new boolean variable in
the internal web interface