Fixed bug#9940 - Search Template issue.