searchAndReturnAssociationKeys() support for pre and post 1.x versions