Fixes for mysqli when values are not default