Added a new selection function for bonds