Fixed bug causing errors on no table or not found.