Added invalid machine/task error checking

One error check already existed: ParseForbiddenMachines. It used 'a'-'h'
instead of 0-7. Is this a more correct format?