Last commit by eoma fixed this, so code now works.