Fix some bugs in object selection

Signed-off-by: nppangband <nppangbanddev@verizon.net>