Auto switch to single view with just one record