The GFCI will save your life in circumstances similar to yours. You got lucky.
You also need a grounding probe to send the power to ground in the case of a short circuit. The bad part is that if there's a short circuit the GFCI will shut down your tank. The good part is that it won't kill you.