etags: better operation check