Add code to find missing/invalid moves