Fixing bug where template has no configured fragments