Update docstrap container for right behavior for empty ancestors and variation