Fixed update ranks if there is only one style