Support for hd inside lists