fix deleting objects.
make newly created queries 'favorites'.