Fixed can match empty string calculation