7.0 stage. Fix check_deposit calc

Merged Sebastian Kennedy requested to merge 7.0-stage into 7.0

Merge request reports