fixed parameter order to allow functions with previously existing status parameter to work

Jenkins test caught it. I am not even more a fan of CI automated testing.