Update nav-menu-template.php Ticket : 29743

Sometimes in custom post types the apply_filters returns NULL and a warning happens in join clause ,
I opened a ticket https://core.trac.wordpress.org/ticket/29743
and here is the solution to check if apply_filters is null , if so just assign a new array to it so no warning again in join clause .

Regards, Eid