Fix for #13 - add bounds check the size of the list passed into remove conflicts