fixed bug when resource was edited to include a blank title for a page or collection item