moved test of presence 'custom_data' in event after precess_results