This bug was fixed on the master branch in 006f6525057970a74382132237b2131286ad147c but is also present on server-1.4-branch. I'm attaching a backport here as there's a small gotcha.
Created attachment 11798 [details] [review]
on May 27, 2016 at 00:18:41.
(provided by the Example extension).