Fixed a bug in the splines workers.