Reset type if it isn't defined to prevent type cascading
Removing error log statments
Merge pull request #64 from robotpony/type-reset

Type reset in db::select_objects()