Added comparison to library and search

Fixed crash when creating new array was out of bounds. Added comparison
of Library and search results.