Fix reversed arguments in error message.