Bugfixes for task submission

fixed bug with custom filter
fixed blocking in tas_client when there was already something in the unique queue