CRUD almost working. Delete deletes but screwy error afterwards.