* Fixed possible NPE in TableController (fixes #298).