Fixed a bug when no single point is added.

Thanks @Grabber.