Fix if statements in action_add_to_list.

 Fix if statements in action_add_to_list. They would always fire regardless of type.