Fix for wrong argument order in 37d061ae88b2123d308aa43e3a0d9df99f829d96, refs #571