Fix issue with reversed arguments.