Fix for crash on table view initialisation.