return 404 not found when the record to be deleted could not be found
in db

Change-Id: I1eab6f02dcb8d4112ca6e77ce5fde7ae877eb262