Added index to PageTypeComposerFormLayoutSets.ptID for query where and potential join to PageTypes table