spec: fix :if clause

* nested :if overwrites parent :if, remove them