Hydraulic safety valves