Attempting to fix issue with wrong number of stars being displayed