Various selection fixes and biasing of previous key (if no key is selected)