Check for array members before using them.