When I've had to do things like this in the past I've found the filter command quite useful.

If a number of the rows have the same "badness", filter on that and then delete.

It may not solve you whole problem though.