Prevent N queries on `Deploy` creation