Made sure that numpoints are only useful if there are markers.