Wrexham slipped up in their race for automatic promotion to the English Football League after suffering a 3-1 defeat at FC Halifax Town on Friday.