ERT-814: Fixed bug with argument order