Extending the range of bugs that automated program repair can handle