Prevent "variable is not array" error.