Swapped parameters to match the placeholder semantics in the actual error message. Original pull request: #313.