Added unique option to fetchObjects