length of array not checked when creating descriptive values for boolean drop down

This should fix the issues people have been seeing with the boolean dropdown box not being populated with values.