Fixed one last mysql bug