Issue 404 for nonexistent tables

Fixes #44