fixed subselect fitlering