Multiple record selectors

Fix for #265