Removed spurious variable

It's not used at all. Thanks anoah!!
Deduplicated message pushing in search subroutine