Some bug fixes; API routes now exclude new and edit by default