Hide/Show not working for multiple conditions