Fixes bug with firstDoorOpen() not being checked