toggle logging back on in ensure block
refactor filter chains slightly
Merge branch 'master' of https://github.com/genome/dgi-db