Fixing if/else specs