Updated CAML query so that page layout can be found from any folder hierarchy in master page gallery.