Added logic to check for soft delete doc metas, fixes #335
Removed console log from debug
Merge branch 'master' into issue335

Conflicts:
	public/build/app.js
	public/build/app.map