Reverse assert arguments so the errors make sense

Change-Id: I2919db71019ee56246eb0398ddc0a3170f17e6b2