Make sure response contains district ids before attempting to save them.