Fixes this.reject regression

Fixes #4157 (thanks to @yurydelendik for the solution!).