fix conditions after QA

stylistically i think it's a tiny bit better to use tuples instead of lists in this situation but it doesn't really matter