Fixed type check in property dec