fixes bug that was causing an `indexOf` error when checking the viewType on un-tethered view collections.
fixes bug that was causing an `indexOf` error when checking the viewType on un-tethered view collections.

jonschlinkert/templates