Baited drum lines were to blame for the deaths of hammerhead sharks off the coast of Magnetic Island in the Great Barrier Reef Marine Park in August.