I can confirm that my fix works, but I am scared to post a PR due to this:
UPDATE It builds so I guess ill just do a PR and worry about why my PG is broken later.