(at around 7mins) The guard who opens Gypsy's cell door is not the same person who helped her up when she stumbled.
When Ruby sneaks out of her mom's room to pack, she quietly closes the door behind her. When she goes to let Nick in, she stops to look at her mom one last time, but the door is now open. Then when Nick goes to kill her, the door is once again closed.