fix java.lang.IndexOutOfBoundsException for non existant suggestions