make smart case searching work right

Signed-off-by: Tyler Pickett <t.pickett66@gmail.com>