Add return to back_up_tables if $tables is not array