Made contextFilter async, Corrected delete status code

delete by id now returns 404 when no items are deleted