Use the new array_all_members_of method for a shorter if statement.
Fix table updating of  index paths
Passing tests for index_path updating of tables.