Fix bug in merge tag when no data is available