Fix bug in listing entries with parent entry id