Moved the IsDoor check before the meta get.