Added better compare method for instruction. Sync check seems to function correctly