Adrian L Lange:
	- Fix errors when checking items outside of the quality or class range
	Fixes #8
