Fix typo.

This should have been val all along.

I should have written tests for my contributions :(

cc @DamonOehlman