Fixed bug in fetching list of new templates