Revert "Corrected param order for asserts."

This reverts commit 16074c579920bccee3255dc6d0a616fb56d67108.