Fix an issue where a null table causes a NPE in Perlstone.