Saw the solution in my dreams, realized I misplaced elif statement