Fixes bad spearman cost