Fixing a crashing bug in the LaplacianSmoothing filter.