Add wrong attributes check on selector