Fixes a currying error