Prevent undefined index warning.