Fixed a bug where a selection wasn't being kept when alwaysHaveASelection==True