Added support for passing empty list by using input-form attribute.

Sometimes it can be useful to pass an empty list (e.g. because it is
filtered). But because of elvis operator it took full list of domain.