Fix on tm_chapters_node_presave hook to check node is a chapters node before operating on it, otherwise we get errors in migrate