Makes it possible to fit reinforced items.

Moved around some code blocks and added logic to fit reinforced items (fixes #7702).
Simple check for damage comes first then do further(more complex) checking, if needed.