Fixed bug where not entering a collection name will get a weird template error