SequenceLength check fixed nicely :)