Optionally-plant: wrong loops

Also fixed syntax errors in handle-face-ups