validate on ap/rplink removal, re-add lastModified setter to ibatis_queries