Max course constraint working.