Guard against null argument