remove meaningless call of get_all in clustering (fix #28)

Fix for #28