Fix #39. Don't include deleted records in API responses.