finish up fixes with one for searching too
Merge pull request #8 from JoshAshby/phots_fix

finish up fixes with one for searching too