Should not make a difference. Many people use them to sense water level in a tank, for instance.
What is the target? What is the shape of the target? Is the target perpendicular to the rangefinder?
Are you delaying a bit between sending pings to let the previous echo die down? I usually wait about 50ms between pings.