Hide multiple and show multiple option not working correctly