Catch index out of bounds exception for search array