bug fix for array event to handle nullable arrays