Course units are locked

Course units appear with "You need to complete the required unit before this unit" even if the unit isn't required to be assessed. All the units including the first unit is locked. The 'Course Dates' of the course are correct, the units are set to be available instantly as well. We have done a conflict test which didn't help and debug.log didn't reveal any related information.