Fix for SubCompare function - incorrect array size given.