[PropertyAccess] Fixed incorrect else if.