Do not perform the same query twice.