Fix switch pagination displaying