idoutils: fix removal of sla history table causing error

refs #4363
idoutils: fix postgresql limit x,y -> limit y offset x

refs #4367