check for status field before trying to match on it