Fix wrong assertion macro use