Fixed bug in search and bug in reverse strand gpu