Don't crash displaying results of regression tree in browser