Adapt to changes in master.

See scala-ide/scala-ide#812
I agree that it's not equivalent, however I don't think it matters for Play templates.

The `+1` was impossible to understand the reasoning behind (it's from Amir's time), so it might have been a temporary hack to work around another issue.