[cmake,bugfix] Fixes issue with versions of suggestions.

Du to typo the length of the modules and version list of the suggestion
differed. This patch fixes this.