I prefer the first, as it also shows that Luna didn't know how to dreamwalk until after she was banished to the moon. Nopony took over dealing with nightmares when Luna was banished, because there was no job to take over; she didn't start doing that until her return.