Found another bug in the manage_object hook that was adding multiple types to the #type array.
Cleaned module thru coder.