Fix getCasesPossibles array length