make the select jinja filter better
CI-269