Fixed holdtypes not being detected

Signed-off-by: FNox <kamaitama@gmail.com>