Moved sema increment to the correct spot oh my god I cannot believe it got moved there. All tests pass now.