Fixes edit/delete bug in requests