Fixxed MySQL non-compatibility issue with RAND()