Fix a problem where arguments were being lost in favour of default
arguments, so e.g. the grid wouldn't allow an endpoint argument.