Fix license agreement check