When Danar first escapes on the Enterprise, as a ruse, he enters the turbolift, which Data says it is on deck 34, but when Danar knocks out the security guard and lowers the force field, Data says its deck 36.
When Danar beams aboard the Enterprise, he attacks O'Brien and the security team that is waiting for him. Several times, O'Brien calls for more security, but no one shows up, except Riker and Worf, who are already on their way.
When Worf meets the turbolift supposedly carrying Danar, the door markings indicate that he's on deck 12. However, the security cells that Danar had just escaped from are on deck 36.
CRUSHER: At Troi's request I examined him. His cell structure has been significantly altered. They used a combination of cryptobiolin, triclenidil, macrospentol and a few things I can't even recognize. There would be no way for Dr. Crusher to Examine Danar physically, without hurting her & escaping his cell.
After the Danar and the prisoners on the planet start to riot, Picard tells Troi, Data and Worf to accompany him to the planet and they leave the bridge and head to a transporter room. Riker accompanies them part way, but neither he nor the captain tell anyone else on the bridge that they are in command of the bridge.