Fix condition to check if the default event path exists instead of one property