Fixed issue with duplicated but shifted solutions