Point light array size test + fix.

Arrays are 0-indexed but a length of zero doesn't mean one element.