getTableContents now returns empty array in case there is no such table