Fixed small error in end of script, related to deselecting