Fixed bug in chroot sessions.