Added clause to not put default views into design doc when indexes is top level. E.g used in cloudant to make search/lucene indexes