fixing list comp.
adding string conversion, without this the filter name is not displayed properly in Python 3
adding drop down options for the agent