fixed #4 by throwing exception if only one element was not found.