Fixed error handling for ranking button tab