The flag on sem init needed to be changed.