Unreverting diff with bugfix
Unreverting diff with bugfix

Summary: There was an off-by-one error. Whoops.

Test Plan: make test

Reviewers: pad

Reviewed By: pad

Differential Revision: https://phabricator.fb.com/D765053

egonSchiele/pfff,egonSchiele/pfff,mutantzombie/pfff,rpau/pfff,juergenhoetzel/pfff,Hyunha/pfff,mutantzombie/pfff,mutantzombie/pfff,egonSchiele/pfff,mutantzombie/pfff,egonSchiele/pfff,rpau/pfff,mutantzombie/pfff,juergenhoetzel/pfff,mutantzombie/pfff,juergenhoetzel/pfff,juergenhoetzel/pfff,juergenhoetzel/pfff,mutantzombie/pfff,rpau/pfff,Hyunha/pfff,mutantzombie/pfff,rpau/pfff,mutantzombie/pfff,juergenhoetzel/pfff,rpau/pfff,juergenhoetzel/pfff,egonSchiele/pfff,mutantzombie/pfff,mutantzombie/pfff,Hyunha/pfff,rpau/pfff,juergenhoetzel/pfff,egonSchiele/pfff,rpau/pfff,Hyunha/pfff,egonSchiele/pfff,Hyunha/pfff,rpau/pfff,rpau/pfff,Hyunha/pfff,Hyunha/pfff,egonSchiele/pfff,egonSchiele/pfff,Hyunha/pfff,rpau/pfff,egonSchiele/pfff,Hyunha/pfff,Hyunha/pfff,juergenhoetzel/pfff,juergenhoetzel/pfff