Made rankings dictionary case-insensitive