Why is the customer rating flag not showing correctly?