Fixed /bed checking to see if bed is obstructed