Query functions now remove duplicates of their returned results; changed world_type default to be 'unrestricted'.