Actually fix the lock status parsing this time.