#9 Issue with sql query in matches_mapper_db.php