How did you get ending 4?
I sadly do not remember ending numbers BUT
The endings depend of stuff
SPOILERS:
Letting the child you play as briefly go outside and die lets you trigger a route of endings, once she dies you argue with Edward, calming down gets you an ending and escalating gives you an ending
the other is keeping them all alive
another should be running into the trap yourself !!