Fixed a bug in finding the deciding on the type and setting the id of a find without an id