When one lesson attempt is deleted from the lesson -> reports page, the corresponding grade in gradebook should disappear (not exist). Instead it is set to 0, so it's take into account for aggregations and so on.
TODO: Fix this
TODO: Review other modules's behavior
TODO: Back port to 1.9 if possible