Avoid weird float rounding in dup key error regex