Bug fixes -- ranking is back on track!