Finished availability checking code, and NextInput / PreviousInput only show you the items that are actually available on your model.