Filtering results in acts_as_tree


I’m using a logical delete for a table and want to use acts_as_tree with
it. Is there any way to filter the rows returned as the tree is
to include only those records where the deleted column is equal to

thanks very much for your help.