fixed issue of assortments coming as undefined, fixed issue of create WBD as error when inside chapter, fixed issue of existing url not used when the parent page id has spaces - ROHITH