adding type
adding type only if clean.layers are not undefined
Merge pull request #31 from pelias/search-layers

searching layers