fix assertions so non-deterministic writes can be asserted

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>