Fixed search relation device model
Merge branch 'dev'