Improve element property check.