Fix command owner check