Fix mcRank command for SQL