fixed populate method to set table to in use if table info stated that
table was in use.