Fixed get_support algorithm, test file