Fixed not throwing ResourceNotFoundException when a table does not exists