Fixed bug related to luck rule.