Fix for mysqli error.