The government ratings for nursing homes are volatile and have significant shortcomings, according to a recent study.