Added constraints on parent's status (even though the bad cases shouldn't actually occur because of how the status constraints are set up with respect to the iteration).

Signed-off-by: Tushar Narayan <tusharnarayan@gmail.com>