Changed index "parent" of sys_template to (pid,sorting)