Range must be an array and is expected as such in the template

We should not allow range to be a string because the templates assert it is an array.
This little patch ensure the proper value, and also update the default range to be an empty array.