Fixed SelectBox raising exception with null options

Fix for issue #4639
At this step it is very likely that $options is an array or null (Traversable objects are copied into an array a few lines above) I agree that casting an array into an array doesn't make much sense, but it manages the case when $options is null by getting an empty array instead. This way the `+` operator can be used more safely.