Fixes a few small errors.

Fixes:

https://github.com/CleverRaven/Cataclysm-DDA/issues/3579
https://github.com/CleverRaven/Cataclysm-DDA/issues/3590