Fix slot check for head, cheers @TheSumm