Fixed bug in search results parsing. Added log statements for purposes of debugging.