fixes a bug, some traits were getting excluded from the selection index, in some cases....