Cofactor 20141112

It seems a little strange for the db to be responsible for the filtering out of trashed objects etc.