Further bugfixes in get_points