Return the correct values from filters

Fixes #5. Needs a small change in the OAuth plugin too, I believe.