Fixed issue with selector array of elements