Fixed issue in sema-up where we were unblocking before upping the sema.