Huddersfield coach Paul Anderson admitted his relief after their narrow fourth round Challenge Cup win over Batley.